package com.sl.core.engine.step.rowto;

import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.compress.utils.Lists;

import java.util.List;

@Getter
@Setter
public class ProcessCompPutRowToConfig {

    private List<String> putToTransformNameList;

//    private List<Map<String,Object>>

    private Object data;

    public void addPutToTransformName(String str) {
        if (StrUtil.isBlank(str)) {
            return;
        }
        if (ObjectUtil.isNull(putToTransformNameList)) {
            putToTransformNameList = Lists.newArrayList();
        }
        putToTransformNameList.add(str);
    }
}
